[INFO] fetching crate ncursesw-win 0.4.0... [INFO] checking ncursesw-win-0.4.0 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate ncursesw-win 0.4.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate ncursesw-win 0.4.0 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate ncursesw-win 0.4.0 [INFO] finished tweaking crates.io crate ncursesw-win 0.4.0 [INFO] tweaked toml for crates.io crate ncursesw-win 0.4.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate ncursesw-win 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cdbaf7959f7d0e78454b67f7f35f3b5e9079d1a34f2bcd60454062c214eba7d8 [INFO] running `"docker" "start" "-a" "cdbaf7959f7d0e78454b67f7f35f3b5e9079d1a34f2bcd60454062c214eba7d8"` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking errno v0.2.4 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling which v3.1.0 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Compiling ncursesw v0.4.0 [INFO] [stderr] error[E0432]: unresolved import `shims::bindings::WEOF` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/wide/char.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use shims::bindings::WEOF; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^---- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `EOF` [INFO] [stderr] | no `WEOF` in `shims::bindings` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `wint_t` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:36:29 [INFO] [stderr] | [INFO] [stderr] 36 | pub type wint_t = bindings::wint_t; [INFO] [stderr] | ^^^^^^ not found in `bindings` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::wint_t; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::wint_t; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `add_wch` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:144:19 [INFO] [stderr] | [INFO] [stderr] 144 | bindings::add_wch(wch) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:76058 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | ---------------------------------------------------------------- similarly named function `addch` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 144 | bindings::addch(wch) [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::add_wch; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::add_wch; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `add_wchnstr` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:151:19 [INFO] [stderr] | [INFO] [stderr] 151 | bindings::add_wchnstr(wchstr.as_ptr(), n) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:76138 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | ------------------------------------------------------------------------------------------------------------------ similarly named function `addchnstr` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 151 | bindings::addchnstr(wchstr.as_ptr(), n) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::add_wchnstr; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::add_wchnstr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `add_wchstr` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:158:19 [INFO] [stderr] | [INFO] [stderr] 158 | bindings::add_wchstr(wchstr.as_ptr()) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:76268 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | --------------------------------------------------------------------------- similarly named function `addchstr` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 158 | bindings::addchstr(wchstr.as_ptr()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::add_wchstr; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::add_wchstr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `addnwstr` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:193:19 [INFO] [stderr] | [INFO] [stderr] 193 | bindings::addnwstr(wstr.as_ptr(), n) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:76359 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | --------------------------------------------------------------------------------------------------------------------------------------- similarly named function `addnstr` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 193 | bindings::addnstr(wstr.as_ptr(), n) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::addnwstr; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::addnwstr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `addwstr` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:207:19 [INFO] [stderr] | [INFO] [stderr] 207 | bindings::addwstr(wstr.as_ptr()) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:76359 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | --------------------------------------------------------------------------------------------------------------------------------------- similarly named function `addnstr` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 207 | bindings::addnstr(wstr.as_ptr()) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::addwstr; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::addwstr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `bkgrnd` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:304:19 [INFO] [stderr] | [INFO] [stderr] 304 | bindings::bkgrnd(wch) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:77670 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | --------------------------------------------------------------- similarly named function `bkgd` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 304 | bindings::bkgd(wch) [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::bkgrnd; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::bkgrnd; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `bkgrndset` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:311:19 [INFO] [stderr] | [INFO] [stderr] 311 | bindings::bkgrndset(wch) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:77749 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | ---------------------------------- similarly named function `bkgdset` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 311 | bindings::bkgdset(wch) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::bkgrndset; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::bkgrndset; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `border_set` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:343:19 [INFO] [stderr] | [INFO] [stderr] 343 | bindings::border_set(ls, rs, ts, bs, tl, tr, bl, br) [INFO] [stderr] | ^^^^^^^^^^ not found in `bindings` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::border_set; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::border_set; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `box_set` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:358:15 [INFO] [stderr] | [INFO] [stderr] 358 | bindings::box_set(win, verch, horch) [INFO] [stderr] | ^^^^^^^ not found in `bindings` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::box_set; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::box_set; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `echo_wchar` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:540:19 [INFO] [stderr] | [INFO] [stderr] 540 | bindings::echo_wchar(wch) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:80728 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | ------------------------------------------------------------------- similarly named function `echochar` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 540 | bindings::echochar(wch) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::echo_wchar; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::echo_wchar; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `erasewchar` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:576:15 [INFO] [stderr] | [INFO] [stderr] 576 | bindings::erasewchar(ch) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:80944 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | ------------------------------------------------------- similarly named function `erasechar` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 576 | bindings::erasechar(ch) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::erasewchar; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::erasewchar; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_wch` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:649:15 [INFO] [stderr] | [INFO] [stderr] 649 | bindings::get_wch(wch) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:81251 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | -------------------------------------------------- similarly named function `getch` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 649 | bindings::getch(wch) [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::get_wch; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::get_wch; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_wstr` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:656:15 [INFO] [stderr] | [INFO] [stderr] 656 | bindings::get_wstr(wstr) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:81317 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | ------------------------------------------------------------------------------------------------------------------------------------- similarly named function `getnstr` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 656 | bindings::getnstr(wstr) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::get_wstr; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::get_wstr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `getbkgrnd` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:691:15 [INFO] [stderr] | [INFO] [stderr] 691 | bindings::getbkgrnd(wch) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:81185 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | -------------------------------------------------- similarly named function `getbkgd` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 691 | bindings::getbkgd(wch) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::getbkgrnd; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::getbkgrnd; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `getn_wstr` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:743:15 [INFO] [stderr] | [INFO] [stderr] 743 | bindings::getn_wstr(wstr, n) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:81317 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | ------------------------------------------------------------------------------------------------------------------------------------- similarly named function `getnstr` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 743 | bindings::getnstr(wstr, n) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::getn_wstr; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::getn_wstr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `hline_set` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:824:19 [INFO] [stderr] | [INFO] [stderr] 824 | bindings::hline_set(wch, n) [INFO] [stderr] | ^^^^^^^^^ not found in `bindings` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::hline_set; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::hline_set; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `in_wch` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:853:15 [INFO] [stderr] | [INFO] [stderr] 853 | bindings::in_wch(wcval) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:82240 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | --------------------------- similarly named function `inch` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 853 | bindings::inch(wcval) [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::in_wch; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::in_wch; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `in_wchnstr` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:860:15 [INFO] [stderr] | [INFO] [stderr] 860 | bindings::in_wchnstr(wchstr, n) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:82283 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | --------------------------------------------------------------------------------------------------------------- similarly named function `inchnstr` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 860 | bindings::inchnstr(wchstr, n) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::in_wchnstr; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::in_wchnstr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `in_wchstr` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:867:15 [INFO] [stderr] | [INFO] [stderr] 867 | bindings::in_wchstr(wchstr) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:82410 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | ------------------------------------------------------------------------ similarly named function `inchstr` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 867 | bindings::inchstr(wchstr) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::in_wchstr; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::in_wchstr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `innwstr` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:935:15 [INFO] [stderr] | [INFO] [stderr] 935 | bindings::innwstr(wstr, n) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:82967 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | ------------------------------------------------------------------------------------------------------------------------------------ similarly named function `innstr` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 935 | bindings::innstr(wstr, n) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::innwstr; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::innwstr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ins_nwstr` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:941:19 [INFO] [stderr] | [INFO] [stderr] 941 | bindings::ins_nwstr(wstr.as_ptr(), n) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:83369 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | --------------------------------------------------------------------------------------------------------------------------------------- similarly named function `insnstr` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 941 | bindings::insnstr(wstr.as_ptr(), n) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::ins_nwstr; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::ins_nwstr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ins_wch` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:948:19 [INFO] [stderr] | [INFO] [stderr] 948 | bindings::ins_wch(wch) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:83115 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | ---------------------------------------------------------------- similarly named function `insch` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 948 | bindings::insch(wch) [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::ins_wch; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::ins_wch; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ins_wstr` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:955:19 [INFO] [stderr] | [INFO] [stderr] 955 | bindings::ins_wstr(wstr.as_ptr()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:83369 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | --------------------------------------------------------------------------------------------------------------------------------------- similarly named function `insnstr` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 955 | bindings::insnstr(wstr.as_ptr()) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::ins_wstr; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::ins_wstr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `inwstr` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:1012:15 [INFO] [stderr] | [INFO] [stderr] 1012 | bindings::inwstr(wstr) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:82967 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | ------------------------------------------------------------------------------------------------------------------------------------ similarly named function `innstr` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 1012 | bindings::innstr(wstr) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::inwstr; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::inwstr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `key_name` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:1130:20 [INFO] [stderr] | [INFO] [stderr] 1130 | (bindings::key_name(w) as *mut i8).as_mut().map(|ptr| FromCStr::from_c_str(ptr)) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:84069 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [INFO] [stderr] | ------------------------------------------------------------------------------------------------- similarly named function `keyname` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 1130 | (bindings::keyname(w) as *mut i8).as_mut().map(|ptr| FromCStr::from_c_str(ptr)) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 28 | use ncurses::key_name; [INFO] [stderr] | [INFO] [stderr] 28 | use shims::ncurses::key_name; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `killwchar` in module `bindings` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncursesw-0.4.0/src/shims/ncurses.rs:1173:15 [INFO] [stderr] | [INFO] [stderr] 1173 | bindings::killwchar(ch) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/target/debug/build/ncursesw-7ccc61aee67750b1/out/bindings.rs:3:84283 [INFO] [stderr] | [INFO] [stderr] 3 | pub const _XOPEN_SOURCE_EXTENDED : u32 = 1 ; pub const _CTYPE_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; 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 _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 __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; 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 __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _LOCALE_H : u32 = 1 ; pub const _BITS_LOCALE_H : u32 = 1 ; pub const __LC_CTYPE : u32 = 0 ; pub const __LC_NUMERIC : u32 = 1 ; pub const __LC_TIME : u32 = 2 ; pub const __LC_COLLATE : u32 = 3 ; pub const __LC_MONETARY : u32 = 4 ; pub const __LC_MESSAGES : u32 = 5 ; pub const __LC_ALL : u32 = 6 ; pub const __LC_PAPER : u32 = 7 ; pub const __LC_NAME : u32 = 8 ; pub const __LC_ADDRESS : u32 = 9 ; pub const __LC_TELEPHONE : u32 = 10 ; pub const __LC_MEASUREMENT : u32 = 11 ; pub const __LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE : u32 = 0 ; pub const LC_NUMERIC : u32 = 1 ; pub const LC_TIME : u32 = 2 ; pub const LC_COLLATE : u32 = 3 ; pub const LC_MONETARY : u32 = 4 ; pub const LC_MESSAGES : u32 = 5 ; pub const LC_ALL : u32 = 6 ; pub const LC_PAPER : u32 = 7 ; pub const LC_NAME : u32 = 8 ; pub const LC_ADDRESS : u32 = 9 ; pub const LC_TELEPHONE : u32 = 10 ; pub const LC_MEASUREMENT : u32 = 11 ; pub const LC_IDENTIFICATION : u32 = 12 ; pub const LC_CTYPE_MASK : u32 = 1 ; pub const LC_NUMERIC_MASK : u32 = 2 ; pub const LC_TIME_MASK : u32 = 4 ; pub const LC_COLLATE_MASK : u32 = 8 ; pub const LC_MONETARY_MASK : u32 = 16 ; pub const LC_MESSAGES_MASK : u32 = 32 ; pub const LC_PAPER_MASK : u32 = 128 ; pub const LC_NAME_MASK : u32 = 256 ; pub const LC_ADDRESS_MASK : u32 = 512 ; pub const LC_TELEPHONE_MASK : u32 = 1024 ; pub const LC_MEASUREMENT_MASK : u32 = 2048 ; pub const LC_IDENTIFICATION_MASK : u32 = 4096 ; pub const LC_ALL_MASK : u32 = 8127 ; pub const CURSES : u32 = 1 ; pub const CURSES_H : u32 = 1 ; pub const NCURSES_VERSION_MAJOR : u32 = 6 ; pub const NCURSES_VERSION_MINOR : u32 = 1 ; pub const NCURSES_VERSION_PATCH : u32 = 20180127 ; pub const NCURSES_VERSION : & 'static [ u8 ; 4usize ] = b"6.1\0" ; pub const NCURSES_MOUSE_VERSION : u32 = 1 ; pub const NCURSES_DLL_H_incl : u32 = 1 ; pub const _STDINT_H : 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_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; 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 NCURSES_ENABLE_STDBOOL_H : u32 = 1 ; pub const NCURSES_OPAQUE : u32 = 0 ; pub const NCURSES_OPAQUE_FORM : u32 = 0 ; pub const NCURSES_OPAQUE_MENU : u32 = 0 ; pub const NCURSES_OPAQUE_PANEL : u32 = 0 ; pub const NCURSES_WATTR_MACROS : u32 = 1 ; pub const NCURSES_REENTRANT : u32 = 0 ; pub const NCURSES_INTEROP_FUNCS : u32 = 0 ; pub const NCURSES_TPARM_VARARGS : u32 = 1 ; pub const NCURSES_WCWIDTH_GRAPHICS : u32 = 1 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; 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 NCURSES_WIDECHAR : u32 = 1 ; pub const TRUE : u32 = 1 ; pub const FALSE : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const COLOR_BLACK : u32 = 0 ; pub const COLOR_RED : u32 = 1 ; pub const COLOR_GREEN : u32 = 2 ; pub const COLOR_YELLOW : u32 = 3 ; pub const COLOR_BLUE : u32 = 4 ; pub const COLOR_MAGENTA : u32 = 5 ; pub const COLOR_CYAN : u32 = 6 ; pub const COLOR_WHITE : u32 = 7 ; pub const ERR : i32 = -1 ; pub const OK : u32 = 0 ; pub const _SUBWIN : u32 = 1 ; pub const _ENDLINE : u32 = 2 ; pub const _FULLWIN : u32 = 4 ; pub const _SCROLLWIN : u32 = 8 ; pub const _ISPAD : u32 = 16 ; pub const _HASMOVED : u32 = 32 ; pub const _WRAPPED : u32 = 64 ; pub const _NOCHANGE : i32 = -1 ; pub const _NEWINDEX : i32 = -1 ; pub const CCHARW_MAX : u32 = 5 ; pub const NCURSES_EXT_FUNCS : u32 = 20180127 ; pub const NCURSES_SP_FUNCS : u32 = 0 ; pub const NCURSES_ATTR_SHIFT : u32 = 8 ; pub const A_NORMAL : u32 = 0 ; pub const KEY_CODE_YES : u32 = 256 ; pub const KEY_MIN : u32 = 257 ; pub const KEY_BREAK : u32 = 257 ; pub const KEY_SRESET : u32 = 344 ; pub const KEY_RESET : u32 = 345 ; pub const KEY_DOWN : u32 = 258 ; pub const KEY_UP : u32 = 259 ; pub const KEY_LEFT : u32 = 260 ; pub const KEY_RIGHT : u32 = 261 ; pub const KEY_HOME : u32 = 262 ; pub const KEY_BACKSPACE : u32 = 263 ; pub const KEY_F0 : u32 = 264 ; pub const KEY_DL : u32 = 328 ; pub const KEY_IL : u32 = 329 ; pub const KEY_DC : u32 = 330 ; pub const KEY_IC : u32 = 331 ; pub const KEY_EIC : u32 = 332 ; pub const KEY_CLEAR : u32 = 333 ; pub const KEY_EOS : u32 = 334 ; pub const KEY_EOL : u32 = 335 ; pub const KEY_SF : u32 = 336 ; pub const KEY_SR : u32 = 337 ; pub const KEY_NPAGE : u32 = 338 ; pub const KEY_PPAGE : u32 = 339 ; pub const KEY_STAB : u32 = 340 ; pub const KEY_CTAB : u32 = 341 ; pub const KEY_CATAB : u32 = 342 ; pub const KEY_ENTER : u32 = 343 ; pub const KEY_PRINT : u32 = 346 ; pub const KEY_LL : u32 = 347 ; pub const KEY_A1 : u32 = 348 ; pub const KEY_A3 : u32 = 349 ; pub const KEY_B2 : u32 = 350 ; pub const KEY_C1 : u32 = 351 ; pub const KEY_C3 : u32 = 352 ; pub const KEY_BTAB : u32 = 353 ; pub const KEY_BEG : u32 = 354 ; pub const KEY_CANCEL : u32 = 355 ; pub const KEY_CLOSE : u32 = 356 ; pub const KEY_COMMAND : u32 = 357 ; pub const KEY_COPY : u32 = 358 ; pub const KEY_CREATE : u32 = 359 ; pub const KEY_END : u32 = 360 ; pub const KEY_EXIT : u32 = 361 ; pub const KEY_FIND : u32 = 362 ; pub const KEY_HELP : u32 = 363 ; pub const KEY_MARK : u32 = 364 ; pub const KEY_MESSAGE : u32 = 365 ; pub const KEY_MOVE : u32 = 366 ; pub const KEY_NEXT : u32 = 367 ; pub const KEY_OPEN : u32 = 368 ; pub const KEY_OPTIONS : u32 = 369 ; pub const KEY_PREVIOUS : u32 = 370 ; pub const KEY_REDO : u32 = 371 ; pub const KEY_REFERENCE : u32 = 372 ; pub const KEY_REFRESH : u32 = 373 ; pub const KEY_REPLACE : u32 = 374 ; pub const KEY_RESTART : u32 = 375 ; pub const KEY_RESUME : u32 = 376 ; pub const KEY_SAVE : u32 = 377 ; pub const KEY_SBEG : u32 = 378 ; pub const KEY_SCANCEL : u32 = 379 ; pub const KEY_SCOMMAND : u32 = 380 ; pub const KEY_SCOPY : u32 = 381 ; pub const KEY_SCREATE : u32 = 382 ; pub const KEY_SDC : u32 = 383 ; pub const KEY_SDL : u32 = 384 ; pub const KEY_SELECT : u32 = 385 ; pub const KEY_SEND : u32 = 386 ; pub const KEY_SEOL : u32 = 387 ; pub const KEY_SEXIT : u32 = 388 ; pub const KEY_SFIND : u32 = 389 ; pub const KEY_SHELP : u32 = 390 ; pub const KEY_SHOME : u32 = 391 ; pub const KEY_SIC : u32 = 392 ; pub const KEY_SLEFT : u32 = 393 ; pub const KEY_SMESSAGE : u32 = 394 ; pub const KEY_SMOVE : u32 = 395 ; pub const KEY_SNEXT : u32 = 396 ; pub const KEY_SOPTIONS : u32 = 397 ; pub const KEY_SPREVIOUS : u32 = 398 ; pub const KEY_SPRINT : u32 = 399 ; pub const KEY_SREDO : u32 = 400 ; pub const KEY_SREPLACE : u32 = 401 ; pub const KEY_SRIGHT : u32 = 402 ; pub const KEY_SRSUME : u32 = 403 ; pub const KEY_SSAVE : u32 = 404 ; pub const KEY_SSUSPEND : u32 = 405 ; pub const KEY_SUNDO : u32 = 406 ; pub const KEY_SUSPEND : u32 = 407 ; pub const KEY_UNDO : u32 = 408 ; pub const KEY_MOUSE : u32 = 409 ; pub const KEY_RESIZE : u32 = 410 ; pub const KEY_EVENT : u32 = 411 ; pub const KEY_MAX : u32 = 511 ; pub const NCURSES_BUTTON_RELEASED : u32 = 1 ; pub const NCURSES_BUTTON_PRESSED : u32 = 2 ; pub const NCURSES_BUTTON_CLICKED : u32 = 4 ; pub const NCURSES_DOUBLE_CLICKED : u32 = 8 ; pub const NCURSES_TRIPLE_CLICKED : u32 = 16 ; pub const NCURSES_RESERVED_EVENT : u32 = 32 ; pub const TRACE_DISABLE : u32 = 0 ; pub const TRACE_TIMES : u32 = 1 ; pub const TRACE_TPUTS : u32 = 2 ; pub const TRACE_UPDATE : u32 = 4 ; pub const TRACE_MOVE : u32 = 8 ; pub const TRACE_CHARPUT : u32 = 16 ; pub const TRACE_ORDINARY : u32 = 31 ; pub const TRACE_CALLS : u32 = 32 ; pub const TRACE_VIRTPUT : u32 = 64 ; pub const TRACE_IEVENT : u32 = 128 ; pub const TRACE_BITS : u32 = 256 ; pub const TRACE_ICALLS : u32 = 512 ; pub const TRACE_CCALLS : u32 = 1024 ; pub const TRACE_DATABASE : u32 = 2048 ; pub const TRACE_ATTRS : u32 = 4096 ; pub const TRACE_SHIFT : u32 = 13 ; pub const TRACE_MAXIMUM : u32 = 8191 ; pub const NCURSES_UNCTRL_H_incl : u32 = 1 ; pub const NCURSES_PANEL_H_incl : u32 = 1 ; pub const NCURSES_ETI_H_incl : u32 = 1 ; pub const E_OK : u32 = 0 ; pub const E_SYSTEM_ERROR : i32 = -1 ; pub const E_BAD_ARGUMENT : i32 = -2 ; pub const E_POSTED : i32 = -3 ; pub const E_CONNECTED : i32 = -4 ; pub const E_BAD_STATE : i32 = -5 ; pub const E_NO_ROOM : i32 = -6 ; pub const E_NOT_POSTED : i32 = -7 ; pub const E_UNKNOWN_COMMAND : i32 = -8 ; pub const E_NO_MATCH : i32 = -9 ; pub const E_NOT_SELECTABLE : i32 = -10 ; pub const E_NOT_CONNECTED : i32 = -11 ; pub const E_REQUEST_DENIED : i32 = -12 ; pub const E_INVALID_FIELD : i32 = -13 ; pub const E_CURRENT : i32 = -14 ; pub const O_ONEVALUE : u32 = 1 ; pub const O_SHOWDESC : u32 = 2 ; pub const O_ROWMAJOR : u32 = 4 ; pub const O_IGNORECASE : u32 = 8 ; pub const O_SHOWMATCH : u32 = 16 ; pub const O_NONCYCLIC : u32 = 32 ; pub const O_MOUSE_MENU : u32 = 64 ; pub const O_SELECTABLE : u32 = 1 ; pub const REQ_LEFT_ITEM : u32 = 512 ; pub const REQ_RIGHT_ITEM : u32 = 513 ; pub const REQ_UP_ITEM : u32 = 514 ; pub const REQ_DOWN_ITEM : u32 = 515 ; pub const REQ_SCR_ULINE : u32 = 516 ; pub const REQ_SCR_DLINE : u32 = 517 ; pub const REQ_SCR_DPAGE : u32 = 518 ; pub const REQ_SCR_UPAGE : u32 = 519 ; pub const REQ_FIRST_ITEM : u32 = 520 ; pub const REQ_LAST_ITEM : u32 = 521 ; pub const REQ_NEXT_ITEM : u32 = 522 ; pub const REQ_PREV_ITEM : u32 = 523 ; pub const REQ_TOGGLE_ITEM : u32 = 524 ; pub const REQ_CLEAR_PATTERN : u32 = 525 ; pub const REQ_BACK_PATTERN : u32 = 526 ; pub const REQ_NEXT_MATCH : u32 = 527 ; pub const REQ_PREV_MATCH : u32 = 528 ; pub const MIN_MENU_COMMAND : u32 = 512 ; pub const MAX_MENU_COMMAND : u32 = 528 ; pub const MAX_COMMAND : u32 = 639 ; 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 __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 ; pub const _ISupper : _bindgen_ty_1 = 256 ; pub const _ISlower : _bindgen_ty_1 = 512 ; pub const _ISalpha : _bindgen_ty_1 = 1024 ; pub const _ISdigit : _bindgen_ty_1 = 2048 ; pub const _ISxdigit : _bindgen_ty_1 = 4096 ; pub const _ISspace : _bindgen_ty_1 = 8192 ; pub const _ISprint : _bindgen_ty_1 = 16384 ; pub const _ISgraph : _bindgen_ty_1 = 32768 ; pub const _ISblank : _bindgen_ty_1 = 1 ; pub const _IScntrl : _bindgen_ty_1 = 2 ; pub const _ISpunct : _bindgen_ty_1 = 4 ; pub const _ISalnum : _bindgen_ty_1 = 8 ; pub type _bindgen_ty_1 = u32 ; extern "C" { pub fn __ctype_b_loc ( ) -> * mut * const :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn __ctype_tolower_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn __ctype_toupper_loc ( ) -> * mut * const __int32_t ; } extern "C" { pub fn isalnum ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toascii ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _toupper ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tolower ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn isalnum_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isalpha_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn iscntrl_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn islower_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isgraph_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isprint_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ispunct_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isspace_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isupper_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isxdigit_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isblank_l ( arg1 : :: std :: os :: raw :: c_int , arg2 : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tolower_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn toupper_l ( __c : :: std :: os :: raw :: c_int , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lconv { pub decimal_point : * mut :: std :: os :: raw :: c_char , pub thousands_sep : * mut :: std :: os :: raw :: c_char , pub grouping : * mut :: std :: os :: raw :: c_char , pub int_curr_symbol : * mut :: std :: os :: raw :: c_char , pub currency_symbol : * mut :: std :: os :: raw :: c_char , pub mon_decimal_point : * mut :: std :: os :: raw :: c_char , pub mon_thousands_sep : * mut :: std :: os :: raw :: c_char , pub mon_grouping : * mut :: std :: os :: raw :: c_char , pub positive_sign : * mut :: std :: os :: raw :: c_char , pub negative_sign : * mut :: std :: os :: raw :: c_char , pub int_frac_digits : :: std :: os :: raw :: c_char , pub frac_digits : :: std :: os :: raw :: c_char , pub p_cs_precedes : :: std :: os :: raw :: c_char , pub p_sep_by_space : :: std :: os :: raw :: c_char , pub n_cs_precedes : :: std :: os :: raw :: c_char , pub n_sep_by_space : :: std :: os :: raw :: c_char , pub p_sign_posn : :: std :: os :: raw :: c_char , pub n_sign_posn : :: std :: os :: raw :: c_char , pub int_p_cs_precedes : :: std :: os :: raw :: c_char , pub int_p_sep_by_space : :: std :: os :: raw :: c_char , pub int_n_cs_precedes : :: std :: os :: raw :: c_char , pub int_n_sep_by_space : :: std :: os :: raw :: c_char , pub int_p_sign_posn : :: std :: os :: raw :: c_char , pub int_n_sign_posn : :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_lconv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lconv > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( lconv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lconv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lconv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . decimal_point as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . thousands_sep as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . grouping as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_curr_symbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_curr_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . currency_symbol as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( currency_symbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_decimal_point as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_decimal_point ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_thousands_sep as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_thousands_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . mon_grouping as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( mon_grouping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . positive_sign as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( positive_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . negative_sign as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( negative_sign ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_frac_digits as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . frac_digits as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( frac_digits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_cs_precedes as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sep_by_space as * const _ as usize } , 83usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_cs_precedes as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sep_by_space as * const _ as usize } , 85usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . p_sign_posn as * const _ as usize } , 86usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . n_sign_posn as * const _ as usize } , 87usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( n_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_cs_precedes as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sep_by_space as * const _ as usize } , 89usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_cs_precedes as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_cs_precedes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sep_by_space as * const _ as usize } , 91usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sep_by_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_p_sign_posn as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_p_sign_posn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lconv > ( ) ) ) . int_n_sign_posn as * const _ as usize } , 93usize , concat ! ( "Offset of field: " , stringify ! ( lconv ) , "::" , stringify ! ( int_n_sign_posn ) ) ) ; } extern "C" { pub fn setlocale ( __category : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn localeconv ( ) -> * mut lconv ; } extern "C" { pub fn newlocale ( __category_mask : :: std :: os :: raw :: c_int , __locale : * const :: std :: os :: raw :: c_char , __base : locale_t ) -> locale_t ; } extern "C" { pub fn duplocale ( __dataset : locale_t ) -> locale_t ; } extern "C" { pub fn freelocale ( __dataset : locale_t ) ; } extern "C" { pub fn uselocale ( __dataset : locale_t ) -> locale_t ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; 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 ; pub type chtype = :: std :: os :: raw :: c_ulong ; pub type mmask_t = :: std :: os :: raw :: c_ulong ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ 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 ) ) ) ; } # [ 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 va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ 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 __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { 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 > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_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 : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub 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 ) ; } 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 :: < max_align_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < max_align_t > ( ) , 16usize , concat ! ( "Alignment of " , stringify ! ( max_align_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __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 :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( max_align_t ) , "::" , stringify ! ( __clang_max_align_nonce2 ) ) ) ; } pub type NCURSES_BOOL = :: std :: os :: raw :: c_uchar ; extern "C" { pub static mut acs_map : [ chtype ; 0usize ] ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct screen { _unused : [ u8 ; 0 ] , } pub type SCREEN = screen ; pub type WINDOW = _win_st ; pub type attr_t = chtype ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct cchar_t { pub attr : attr_t , pub chars : [ wchar_t ; 5usize ] , } # [ test ] fn bindgen_test_layout_cchar_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cchar_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cchar_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cchar_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . attr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( attr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cchar_t > ( ) ) ) . chars as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( cchar_t ) , "::" , stringify ! ( chars ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldat { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st { pub _cury : :: std :: os :: raw :: c_short , pub _curx : :: std :: os :: raw :: c_short , pub _maxy : :: std :: os :: raw :: c_short , pub _maxx : :: std :: os :: raw :: c_short , pub _begy : :: std :: os :: raw :: c_short , pub _begx : :: std :: os :: raw :: c_short , pub _flags : :: std :: os :: raw :: c_short , pub _attrs : attr_t , pub _bkgd : chtype , pub _notimeout : bool , pub _clear : bool , pub _leaveok : bool , pub _scroll : bool , pub _idlok : bool , pub _idcok : bool , pub _immed : bool , pub _sync : bool , pub _use_keypad : bool , pub _delay : :: std :: os :: raw :: c_int , pub _line : * mut ldat , pub _regtop : :: std :: os :: raw :: c_short , pub _regbottom : :: std :: os :: raw :: c_short , pub _parx : :: std :: os :: raw :: c_int , pub _pary : :: std :: os :: raw :: c_int , pub _parent : * mut WINDOW , pub _pad : _win_st_pdat , pub _yoffset : :: std :: os :: raw :: c_short , pub _bkgrnd : cchar_t , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _win_st_pdat { pub _pad_y : :: std :: os :: raw :: c_short , pub _pad_x : :: std :: os :: raw :: c_short , pub _pad_top : :: std :: os :: raw :: c_short , pub _pad_left : :: std :: os :: raw :: c_short , pub _pad_bottom : :: std :: os :: raw :: c_short , pub _pad_right : :: std :: os :: raw :: c_short , } # [ test ] fn bindgen_test_layout__win_st_pdat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st_pdat > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st_pdat > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( _win_st_pdat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_y as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_x as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_top as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_top ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_left as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_bottom as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_bottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st_pdat > ( ) ) ) . _pad_right as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st_pdat ) , "::" , stringify ! ( _pad_right ) ) ) ; } # [ test ] fn bindgen_test_layout__win_st ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _win_st > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _win_st > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _win_st ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _cury as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _cury ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _curx as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _curx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _maxx as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _maxx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begy as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _begx as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _begx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _flags as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _attrs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _attrs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgd as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _notimeout as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _notimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _clear as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _clear ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _leaveok as * const _ as usize } , 34usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _leaveok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _scroll as * const _ as usize } , 35usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _scroll ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idlok as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idlok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _idcok as * const _ as usize } , 37usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _idcok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _immed as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _immed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _sync as * const _ as usize } , 39usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _sync ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _use_keypad as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _use_keypad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _delay as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _delay ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _line as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _line ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regtop as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regtop ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _regbottom as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _regbottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parx as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pary as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pary ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _parent as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _pad as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _yoffset as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _yoffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _win_st > ( ) ) ) . _bkgrnd as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _win_st ) , "::" , stringify ! ( _bkgrnd ) ) ) ; } pub type NCURSES_OUTC = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn addch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchnstr ( arg1 : * const chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addchstr ( arg1 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn addstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attroff ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attron ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attrset ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_get ( arg1 : * mut attr_t , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn baudrate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn beep ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgd ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bkgdset ( arg1 : chtype ) ; } extern "C" { pub fn border ( arg1 : chtype , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}box" ] pub fn box_ ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn can_change_color ( ) -> bool ; } extern "C" { pub fn cbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtobot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clrtoeol ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn color_set ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn COLOR_PAIR ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn copywin ( arg1 : * const WINDOW , arg2 : * mut WINDOW , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int , arg8 : :: std :: os :: raw :: c_int , arg9 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn curs_set ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn def_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delay_output ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn delscreen ( arg1 : * mut SCREEN ) ; } extern "C" { pub fn delwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn deleteln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn derwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn doupdate ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dupwin ( arg1 : * mut WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn echo ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn echochar ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erase ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn endwin ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erasechar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn filter ( ) ; } extern "C" { pub fn flash ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn flushinp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbkgd ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn getch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getnstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getstr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getwin ( arg1 : * mut FILE ) -> * mut WINDOW ; } extern "C" { pub fn halfdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_colors ( ) -> bool ; } extern "C" { pub fn has_ic ( ) -> bool ; } extern "C" { pub fn has_il ( ) -> bool ; } extern "C" { pub fn hline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn idcok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn idlok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn immedok ( arg1 : * mut WINDOW , arg2 : bool ) ; } extern "C" { pub fn inch ( ) -> chtype ; } extern "C" { pub fn inchnstr ( arg1 : * mut chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn inchstr ( arg1 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initscr ( ) -> * mut WINDOW ; } extern "C" { pub fn init_color ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short , arg4 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_pair ( arg1 : :: std :: os :: raw :: c_short , arg2 : :: std :: os :: raw :: c_short , arg3 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn innstr ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insch ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insdelln ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insertln ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insnstr ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn insstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn instr ( arg1 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn intrflush ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isendwin ( ) -> bool ; } extern "C" { pub fn is_linetouched ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn is_wintouched ( arg1 : * mut WINDOW ) -> bool ; } extern "C" { pub fn keyname ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn keypad ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn killchar ( ) -> :: std :: os :: raw :: c_char ; } extern "C" { pub fn leaveok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn meta ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}move" ] pub fn move_ ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvaddstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvchgat ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : attr_t , arg5 : :: std :: os :: raw :: c_short , arg6 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvcur ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvdelch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvderwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvgetstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvhline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvinchnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinchstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsch ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsnstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinsstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvinstr ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvprintw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvscanw ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvvline ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : chtype , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwaddstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : attr_t , arg6 : :: std :: os :: raw :: c_short , arg7 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwdelch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwgetstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwhline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> chtype ; } extern "C" { pub fn mvwinchnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinchstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsch ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsnstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinsstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwinstr ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwprintw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwscanw ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mvwvline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : chtype , arg5 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn napms ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn newpad ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn newterm ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut FILE , arg3 : * mut FILE ) -> * mut SCREEN ; } extern "C" { pub fn newwin ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn nl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nocbreak ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nodelay ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noecho ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nonl ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn noqiflush ( ) ; } extern "C" { pub fn noraw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn notimeout ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overlay ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn overwrite ( arg1 : * const WINDOW , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pair_content ( arg1 : :: std :: os :: raw :: c_short , arg2 : * mut :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PAIR_NUMBER ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pnoutrefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn prefresh ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: os :: raw :: c_int , arg7 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putwin ( arg1 : * mut WINDOW , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qiflush ( ) ; } extern "C" { pub fn raw ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn redrawwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_prog_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_shell_mode ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn savetty ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanw ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_dump ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_init ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrl ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scroll ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scrollok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_restore ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scr_set ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setscrreg ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_term ( arg1 : * mut SCREEN ) -> * mut SCREEN ; } extern "C" { pub fn slk_attroff ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_off ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attron ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr_on ( arg1 : attr_t , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attrset ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_attr ( ) -> attr_t ; } extern "C" { pub fn slk_attr_set ( arg1 : attr_t , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_clear ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_color ( arg1 : :: std :: os :: raw :: c_short ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_init ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_label ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn slk_noutrefresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_refresh ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_restore ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_set ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn slk_touch ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standout ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn standend ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn start_color ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn subpad ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn subwin ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , arg5 : :: std :: os :: raw :: c_int ) -> * mut WINDOW ; } extern "C" { pub fn syncok ( arg1 : * mut WINDOW , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn termattrs ( ) -> chtype ; } extern "C" { pub fn termname ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn timeout ( arg1 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn touchline ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn touchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn typeahead ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetch ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn untouchwin ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_env ( arg1 : bool ) ; } extern "C" { pub fn use_tioctl ( arg1 : bool ) ; } extern "C" { pub fn vidattr ( arg1 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vidputs ( arg1 : chtype , arg2 : NCURSES_OUTC ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vline ( arg1 : chtype , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_printw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vwscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vw_scanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchnstr ( arg1 : * mut WINDOW , arg2 : * const chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddchstr ( arg1 : * mut WINDOW , arg2 : * const chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn waddstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattron ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattroff ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattrset ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_get ( arg1 : * mut WINDOW , arg2 : * mut attr_t , arg3 : * mut :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_on ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_off ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wattr_set ( arg1 : * mut WINDOW , arg2 : attr_t , arg3 : :: std :: os :: raw :: c_short , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgd ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wbkgdset ( arg1 : * mut WINDOW , arg2 : chtype ) ; } extern "C" { pub fn wborder ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : chtype , arg4 : chtype , arg5 : chtype , arg6 : chtype , arg7 : chtype , arg8 : chtype , arg9 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wchgat ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : attr_t , arg4 : :: std :: os :: raw :: c_short , arg5 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclear ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtobot ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wclrtoeol ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcolor_set ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_short , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wcursyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wdelch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wdeleteln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wechochar ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn werase ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetch ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn whline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winch ( arg1 : * mut WINDOW ) -> chtype ; } extern "C" { pub fn winchnstr ( arg1 : * mut WINDOW , arg2 : * mut chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winchstr ( arg1 : * mut WINDOW , arg2 : * mut chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winnstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsch ( arg1 : * mut WINDOW , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsdelln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsertln ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsnstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winsstr ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn winstr ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmove ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wnoutrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wprintw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wredrawln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wrefresh ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscanw ( arg1 : * mut WINDOW , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wscrl ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsetscrreg ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandout ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wstandend ( arg1 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wsyncdown ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wsyncup ( arg1 : * mut WINDOW ) ; } extern "C" { pub fn wtimeout ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn wtouchln ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wvline ( arg1 : * mut WINDOW , arg2 : chtype , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetflag ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetnum ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tigetstr ( arg1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putp ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tiparm ( arg1 : * const :: std :: os :: raw :: c_char , ... ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getattrs ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcurx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcury ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getbegy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getmaxy ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getparx ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpary ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } pub type NCURSES_WINDOW_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut WINDOW , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type NCURSES_SCREEN_CB = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut SCREEN , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn is_term_resized ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn keybound ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn curses_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn alloc_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn assume_default_colors ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn define_key ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_color_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_pair_content ( arg1 : :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn extended_slk_color ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn find_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_pair ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn get_escdelay ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_color ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn init_extended_pair ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn key_defined ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn keyok ( arg1 : :: std :: os :: raw :: c_int , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn reset_color_pairs ( ) ; } extern "C" { pub fn resize_term ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn resizeterm ( arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_escdelay ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_tabsize ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_default_colors ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_extended_names ( arg1 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_legacy_coding ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_screen ( arg1 : * mut SCREEN , arg2 : NCURSES_SCREEN_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn use_window ( arg1 : * mut WINDOW , arg2 : NCURSES_WINDOW_CB , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wresize ( arg1 : * mut WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nofilter ( ) ; } extern "C" { pub fn wgetparent ( arg1 : * const WINDOW ) -> * mut WINDOW ; } extern "C" { pub fn is_cleared ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idcok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_idlok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_immedok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_keypad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_leaveok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_nodelay ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_notimeout ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_pad ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_scrollok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_subwin ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn is_syncok ( arg1 : * const WINDOW ) -> bool ; } extern "C" { pub fn wgetdelay ( arg1 : * const WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wgetscrreg ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static mut curscr : * mut WINDOW ; } extern "C" { pub static mut newscr : * mut WINDOW ; } extern "C" { pub static mut stdscr : * mut WINDOW ; } extern "C" { pub static mut ttytype : [ :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub static mut COLORS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLOR_PAIRS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut COLS : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut ESCDELAY : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut LINES : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut TABSIZE : :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct MEVENT { pub id : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_int , pub y : :: std :: os :: raw :: c_int , pub z : :: std :: os :: raw :: c_int , pub bstate : mmask_t , } # [ test ] fn bindgen_test_layout_MEVENT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < MEVENT > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < MEVENT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( MEVENT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . x as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . y as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . z as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( z ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < MEVENT > ( ) ) ) . bstate as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( MEVENT ) , "::" , stringify ! ( bstate ) ) ) ; } extern "C" { pub fn has_mouse ( ) -> bool ; } extern "C" { pub fn getmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetmouse ( arg1 : * mut MEVENT ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mousemask ( arg1 : mmask_t , arg2 : * mut mmask_t ) -> mmask_t ; } extern "C" { pub fn wenclose ( arg1 : * const WINDOW , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn mouseinterval ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wmouse_trafo ( arg1 : * const WINDOW , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : bool ) -> bool ; } extern "C" { pub fn mouse_trafo ( arg1 : * mut :: std :: os :: raw :: c_int , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : bool ) -> bool ; } extern "C" { pub fn mcprint ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn has_key ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _tracef ( arg1 : * const :: std :: os :: raw :: c_char , ... ) ; } extern "C" { pub fn _traceattr ( arg1 : attr_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _traceattr2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechar ( arg1 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype ( arg1 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracechtype2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : chtype ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t ( arg1 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn _tracecchar_t2 ( arg1 : :: std :: os :: raw :: c_int , arg2 : * const cchar_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn trace ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn unctrl ( arg1 : chtype ) -> * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct panel { pub win : * mut WINDOW , pub below : * mut panel , pub above : * mut panel , pub user : * const :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_panel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < panel > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( panel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < panel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( panel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . win as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . below as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( below ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . above as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( above ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < panel > ( ) ) ) . user as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( panel ) , "::" , stringify ! ( user ) ) ) ; } pub type PANEL = panel ; extern "C" { pub fn panel_window ( arg1 : * const PANEL ) -> * mut WINDOW ; } extern "C" { pub fn update_panels ( ) ; } extern "C" { pub fn hide_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn show_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn del_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bottom_panel ( arg1 : * mut PANEL ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn new_panel ( arg1 : * mut WINDOW ) -> * mut PANEL ; } extern "C" { pub fn panel_above ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn panel_below ( arg1 : * const PANEL ) -> * mut PANEL ; } extern "C" { pub fn set_panel_userptr ( arg1 : * mut PANEL , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_userptr ( arg1 : * const PANEL ) -> * const :: std :: os :: raw :: c_void ; } extern "C" { pub fn move_panel ( arg1 : * mut PANEL , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn replace_panel ( arg1 : * mut PANEL , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn panel_hidden ( arg1 : * const PANEL ) -> :: std :: os :: raw :: c_int ; } pub type Menu_Options = :: std :: os :: raw :: c_int ; pub type Item_Options = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct TEXT { pub str : * const :: std :: os :: raw :: c_char , pub length : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_TEXT ( ) { assert_eq ! ( :: std :: mem :: size_of :: < TEXT > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < TEXT > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( TEXT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . str as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( str ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < TEXT > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( TEXT ) , "::" , stringify ! ( length ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tagITEM { pub name : TEXT , pub description : TEXT , pub imenu : * mut tagMENU , pub userptr : * mut :: std :: os :: raw :: c_void , pub opt : Item_Options , pub index : :: std :: os :: raw :: c_short , pub y : :: std :: os :: raw :: c_short , pub x : :: std :: os :: raw :: c_short , pub value : bool , pub left : * mut tagITEM , pub right : * mut tagITEM , pub up : * mut tagITEM , pub down : * mut tagITEM , } # [ test ] fn bindgen_test_layout_tagITEM ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagITEM > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagITEM > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagITEM ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . description as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( description ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . imenu as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( imenu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . userptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . opt as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . index as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . y as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . x as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . value as * const _ as usize } , 58usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . left as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( left ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . right as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( right ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . up as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( up ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagITEM > ( ) ) ) . down as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagITEM ) , "::" , stringify ! ( down ) ) ) ; } # [ repr ( C ) ] pub struct tagMENU { pub height : :: std :: os :: raw :: c_short , pub width : :: std :: os :: raw :: c_short , pub rows : :: std :: os :: raw :: c_short , pub cols : :: std :: os :: raw :: c_short , pub frows : :: std :: os :: raw :: c_short , pub fcols : :: std :: os :: raw :: c_short , pub arows : :: std :: os :: raw :: c_short , pub namelen : :: std :: os :: raw :: c_short , pub desclen : :: std :: os :: raw :: c_short , pub marklen : :: std :: os :: raw :: c_short , pub itemlen : :: std :: os :: raw :: c_short , pub spc_desc : :: std :: os :: raw :: c_short , pub spc_cols : :: std :: os :: raw :: c_short , pub spc_rows : :: std :: os :: raw :: c_short , pub pattern : * mut :: std :: os :: raw :: c_char , pub pindex : :: std :: os :: raw :: c_short , pub win : * mut WINDOW , pub sub : * mut WINDOW , pub userwin : * mut WINDOW , pub usersub : * mut WINDOW , pub items : * mut * mut ITEM , pub nitems : :: std :: os :: raw :: c_short , pub curitem : * mut ITEM , pub toprow : :: std :: os :: raw :: c_short , pub fore : chtype , pub back : chtype , pub grey : chtype , pub pad : :: std :: os :: raw :: c_uchar , pub menuinit : Menu_Hook , pub menuterm : Menu_Hook , pub iteminit : Menu_Hook , pub itemterm : Menu_Hook , pub userptr : * mut :: std :: os :: raw :: c_void , pub mark : * mut :: std :: os :: raw :: c_char , pub opt : Menu_Options , pub status : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_tagMENU ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tagMENU > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tagMENU > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tagMENU ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . height as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( height ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . width as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( width ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . rows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . cols as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . frows as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( frows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fcols as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fcols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . arows as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( arows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . namelen as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . desclen as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( desclen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . marklen as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( marklen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemlen as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_desc as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_cols as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_cols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . spc_rows as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( spc_rows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pattern as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pattern ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pindex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . win as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( win ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . sub as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( sub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userwin as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userwin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . usersub as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( usersub ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . items as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . nitems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( nitems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . curitem as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( curitem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . toprow as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( toprow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . fore as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( fore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . back as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( back ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . grey as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( grey ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . pad as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuinit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuinit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . menuterm as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( menuterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . iteminit as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( iteminit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . itemterm as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( itemterm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . userptr as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( userptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . mark as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( mark ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . opt as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( opt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tagMENU > ( ) ) ) . status as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( tagMENU ) , "::" , stringify ! ( status ) ) ) ; } extern "C" { pub fn menu_items ( arg1 : * const MENU ) -> * mut * mut ITEM ; } extern "C" { pub fn current_item ( arg1 : * const MENU ) -> * mut ITEM ; } extern "C" { pub fn new_item ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ITEM ; } extern "C" { pub fn new_menu ( arg1 : * mut * mut ITEM ) -> * mut MENU ; } extern "C" { pub fn item_opts ( arg1 : * const ITEM ) -> Item_Options ; } extern "C" { pub fn menu_opts ( arg1 : * const MENU ) -> Menu_Options ; } extern "C" { pub fn menu_sub ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn menu_win ( arg1 : * const MENU ) -> * mut WINDOW ; } extern "C" { pub fn item_description ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn item_name ( arg1 : * const ITEM ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_mark ( arg1 : * const MENU ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_request_name ( arg1 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_pattern ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn menu_userptr ( arg1 : * const MENU ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn item_userptr ( arg1 : * const ITEM ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn menu_back ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_fore ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn menu_grey ( arg1 : * const MENU ) -> chtype ; } extern "C" { pub fn free_item ( arg1 : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn free_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_count ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_index ( arg1 : * const ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_off ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_opts_on ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_driver ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_off ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_opts_on ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_pad ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pos_menu_cursor ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn post_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scale_menu ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_current_item ( menu : * mut MENU , item : * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_opts ( arg1 : * mut ITEM , arg2 : Item_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_userptr ( arg1 : * mut ITEM , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_item_value ( arg1 : * mut ITEM , arg2 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_back ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_fore ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_format ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_grey ( arg1 : * mut MENU , arg2 : chtype ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_items ( arg1 : * mut MENU , arg2 : * mut * mut ITEM ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_mark ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_opts ( arg1 : * mut MENU , arg2 : Menu_Options ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pad ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_pattern ( arg1 : * mut MENU , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_sub ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_userptr ( arg1 : * mut MENU , arg2 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_win ( arg1 : * mut MENU , arg2 : * mut WINDOW ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_top_row ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn top_row ( arg1 : * const MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unpost_menu ( arg1 : * mut MENU ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_request_by_name ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn set_menu_spacing ( arg1 : * mut MENU , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn menu_spacing ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn item_value ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn item_visible ( arg1 : * const ITEM ) -> bool ; } extern "C" { pub fn menu_format ( arg1 : * const MENU , arg2 : * mut :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_int ) ; } extern "C" { # [ link_name = "\u{1}Fix753_A_ATTRIBUTES" ] pub static A_ATTRIBUTES : attr_t ; } pub const A_CHARTEXT : attr_t = 255 ; pub const A_COLOR : attr_t = 65280 ; pub const A_STANDOUT : attr_t = 65536 ; pub const A_UNDERLINE : attr_t = 131072 ; pub const A_REVERSE : attr_t = 262144 ; pub const A_BLINK : attr_t = 524288 ; pub const A_DIM : attr_t = 1048576 ; pub const A_BOLD : attr_t = 2097152 ; pub const A_ALTCHARSET : attr_t = 4194304 ; pub const A_INVIS : attr_t = 8388608 ; pub const A_PROTECT : attr_t = 16777216 ; pub const A_HORIZONTAL : attr_t = 33554432 ; pub const A_LEFT : attr_t = 67108864 ; pub const A_LOW : attr_t = 134217728 ; pub const A_RIGHT : attr_t = 268435456 ; pub const A_TOP : attr_t = 536870912 ; pub const A_VERTICAL : attr_t = 1073741824 ; pub const A_ITALIC : attr_t = 2147483648 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , } 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 ) ) ) ; } [WARN] too much data in the log, truncating it